<div class="row-fluid">
    <div class="span12">
<!--        <div class="btn-group">
            <button type="button" class="btn">Today</button>
            <button type="button" class="btn">Yeserday</button>
            <button type="button" class="btn ">Week</button>
            <button type="button" class="btn">Month</button>
        </div>-->
        
        <div style="clear: both" ></div>
        <div class="box" style="margin-top: 0;">
            <div data-original-title="" class="box-header well">
                <h2><i class="icon-book"></i> {$pagetitle}</h2>

            </div>
            <div class="box-content">
                
                <table class="table table-striped table-condensed table-bordered">
                    <thead>
                        <tr>
                            <th>ID</th>
                            <th>{$Think.lang.common_email}</th>
                            <th>{$Think.lang.common_task_title}</th>
                            <th>{$Think.lang.common_email_template}</th>
                            
                            <th>{$Think.lang.common_begin_time}</th>
                            
                            <th>{$Think.lang.common_email_interval}</th>
                            <th>{$Think.lang.common_email_last_send_at}</th>
                            <th>{$Think.lang.common_email_next_send_at}</th>
                            <th>{$Think.lang.common_email_send_count}</th>
                            <th>{$Think.lang.common_email_last_send_status}</th>

                        </tr>
                    </thead>   
                    <tbody>
                    <volist name="rows" id="row">
                        <tr>
                            <td><input type="checkbox" name="ids[]" value="{$row.task_id}" /></td>
                            <td>{$row.email}</td>
                            <td>{$row.task_title}</td>
                            <td>{$row.template_title}</td>
                            <td>{$row.begin_time}</td>
                            
                            <td>{$row.interval}</td>
                            <td>{$row.last_send_at|date="Y-m-d H:i:s",###}</td>
                            <td>{$row.next_send_at|date="Y-m-d H:i:s",###}</td>
                            <td>{$row.send_count}</td>
                            <td>{$row.last_send_status|showEmailStatus}</td>
                           
                        </tr>
                    </volist>


                    </tbody>
                </table> 
            </div>
        </div>
    </div>
</div>
{$page}
